﻿@model K9Nano.LayIM.Razor.Areas.IM.Dto.ChatDto
@{
  Layout = null;
}
<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>@ViewData["title"]</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link href="~/im-static/layui/layui.css" rel="stylesheet" />

</head>

<body>

  <script src="~/im-static/layui/layui.js"></script>
  <script src="~/im-static/signalr/signalr.min.js"></script>
  <script src="~/im-static/chat.js"></script>

  <script>
  layui.use('layim',
    function(layim) {

      //基础配置
      layim.config(@Html.Raw(Model.ConfigJson));

      var chat = chatManger(layim);
    });

  </script>
</body>

</html>
